﻿#pragma once
#include "afxdialogex.h"


// CLoginDlg 对话框

class CLoginDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CLoginDlg)

public:
	CLoginDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CLoginDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_LOGIN };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()

private:

	bool isLogined = false;


public:
	CButton radioEmploy;
	CButton radioAdmin;
	afx_msg void OnBnClickedRadioEmply();
	afx_msg void OnBnClickedRadioAdmin();
	CEdit editPassword;
	afx_msg void OnBnClickedButtonLogin();
	afx_msg void OnBnClickedButtonLogout();
	afx_msg void OnBnClickedButtonUpPassword();
	CButton buttonUpPassword;
	virtual BOOL OnInitDialog();
	CEdit editUserName;
};
